<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>9-浮动特点-显示多个-设置宽高05</title>
		<style type="text/css">
			.box span{
				width:100px;
				height: 100px;
				/* 行类元素设置宽高时可以不依赖display:block或者display:inline-block，设置浮动也可 */
			}
			.red{
				background:red;
				float: left;
			}
			.orange{
				background: orange;
				float: left;
			}
			.blue{
				background: blue;
				float: left;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<span class="red">百度</span>
			<span class="orange">新浪</span>
			<span class="blue">阿里</span>
		</div>
	</body>
</html>
